import Cascader from "./cascader/index"
function App() {
  const dataSource = [{
    value: 'zhejiang', title: '浙江',
    children: [{
      value: 'hangzhou', title: '杭州',
      children: [
        { value: 'gongshu', title: '拱墅' },
        { value: 'xiaoshan', title: '萧山' },
        { value: 'yuhang', title: '余杭' }
      ]
    }, {
      value: 'ningbo', title: '宁波',
      children: [
        { value: 'gulin', title: '古林' },
        { value: 'gaoqiao', title: '高桥' },
        { value: 'yuyao', title: '余姚' }
      ]
    }]
  }, {
    value: 'jiangsu', title: '江苏',
    children: [{
      value: 'nanjing', title: '南京',
      children: [
        { value: 'yuhuatai', title: '雨花台' },
        { value: 'xuanwu', title: '玄武' },
        { value: 'qinhuai', title: '秦淮' }
      ]
    }, {
      value: 'suzhou', title: '苏州',
      children: [
        { value: 'gusu', title: '姑苏' },
        { value: 'huqiu', title: '虎丘' },
        { value: 'wujiang', title: '吴江' }
      ]
    }]
  }, {
    value: 'shanghai', title: '上海',
    children: [{
      value: 'jingan', title: '静安',
      children: [
        { value: 'jingansi', title: '静安寺' }
      ]
    }]
  }]
  return (<Cascader dataSource={dataSource} values={[]} />);
}
export default App;
